package fluebot;

/**
 *
 * @author Aksel Kvitberg
 */
public enum Commands {
	seen,
	addtotopic,
	timer,
	addNote,
	moderate,
	stats,
	whois,
	roll,
	attack,
	compliment,
	insult,
	face,
	convert,
	g,
	chuck,
	define,
	bash,
	fml,
	weather,
	imdb,
	lastfm,
	spell,
	ud,
	exit,
	join,
	leave,
	silence,
	add,
	help,
	hypnotoad,
	novalue;

	public static Commands toCommand(String str)
    {
        try {
            return valueOf(str);
        }
        catch (Exception ex) {
            return novalue;
        }
    }   
}
